package com.github.cyf.configBind;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author chenyifan
 * @create 2025-04-19 14:02
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "userinfo")
public class UserInfoProperties {
    private String name;
    private String age;
    private String sex;
}